<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html>
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="/template.xhtml"
                xmlns:p="http://primefaces.org/ui"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:f="http://java.sun.com/jsf/core">

    <ui:define name="title">
        HelpDeskRu:Login
    </ui:define>
    
    <ui:define name="content">
        
        <form method="POST" action="j_security_check" style="max-width: 300px; padding: 19px 29px 29px; margin: 50px auto">

            <p:panelGrid columns="2">
                
                <f:facet name="header">  
                    #{prop['login.header']}
                </f:facet>                  

                <h:outputLabel for="j_username" value="#{prop['login.j_username']}"/>
                <h:inputText id="j_username"/>

                <h:outputLabel for="j_password" value="#{prop['login.j_password']}"/>
                <h:inputSecret id="j_password"/>
                
                <f:facet name="footer">  
                    <div style="text-align: center;">
                        <button type="submit">#{prop['login.submit']}</button>
                    </div>
                </f:facet>                  
                
            </p:panelGrid>
                
                 
        </form>
        
    </ui:define>
    
</ui:composition>



